package com.toubutu.audio.admin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 戒躁
 * @version 1.0
 * @date 2023年10月30日 19:42
 */
@Data
public class AdminUserVo {
    @ApiModelProperty("主键id")
    private Long userId;

    @ApiModelProperty("用户昵称")
    private String nickName;
    @ApiModelProperty("用户邮箱账号")
    private String email;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("用户性别")
    private Integer gender;

    private List<RoleVo> roleList;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
